import { Module } from '@nestjs/common';
import { SequelizeModule } from '@nestjs/sequelize';
import { User } from './user.model';
import { UsersController } from './users.controller';
import { UsersService } from './users.service';
import { RoleModule } from '../role/role.module';
import { DeptModule } from '../dept/dept.module';


@Module({
	imports: [
		RoleModule,
		DeptModule,
		SequelizeModule.forFeature([User])
	],
	providers: [UsersService],
	controllers: [UsersController],
	exports: [UsersService],
})
export class UsersModule { }